import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgZorroAntdModule } from 'ng-zorro-antd';

import { SharedModule } from '../shared';
import { PersonalRoutingModule } from './personal-routing.module';
import { PersonalComponent } from './personal.component';

import { components, ResetPasswordComponent } from './components';
import { guards } from './guards';
import { services } from './services';

@NgModule({
  imports: [
    CommonModule,
    HttpClientModule,
    FormsModule,
    ReactiveFormsModule,
    NgZorroAntdModule,
    SharedModule,
    PersonalRoutingModule
  ],
  declarations: [PersonalComponent, ...components],
  entryComponents: [ ResetPasswordComponent ],
  providers: [ ...guards, ...services ]
})
export class PersonalModule { }
